import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;



public class Project3 extends JFrame {

   public static void main(String[] args) {

      Project3 app = new Project3();
      app.setTitle("Project 3: Renderer w/o OPENGL");
      Project3Panel panel = new Project3Panel();
      app.addKeyListener(panel);
      app.getContentPane().add(panel);       
      app.getContentPane().setPreferredSize(new Dimension(500, 500));      
      app.pack(); 
      app.setVisible(true);
      app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

   }


}